﻿@model SDE_FIC.Models.Usuario

@{
    ViewBag.Title = "SDE - FIC";
    Layout = null;
}
<link href="~/Content/css/login.css" rel="stylesheet" />

<div id="container">
    
     @using (Html.BeginForm("Login", "Home", FormMethod.Post, new {@class="form-signin"}))
          { 
              @Html.AntiForgeryToken()
         <div  style="text-align:center" >
         <img src="~/Content/img/sde_logo.png"/>

          <h2 class="form-signin-heading">Sistema de Diário Escolar</h2>

         </div>
              if (ViewBag.msg_Error != null)
              { 
                <div class="msg_error">
                <p align="center"><font color="#B40404" size="3"><b>@ViewBag.msg_Error</b></font></p>
                <p align="center">@ViewBag.Message</p>
                </div>
              }
              else
              {
                <br />
                <p align="Center">@ViewBag.Message</p>

              }
                
                <br />
         
         <table border="0" style="width:450px; border:0px; border-color:red; border-style: solid; margin: 0 auto 0 auto;">
             <tr>
                 <td>
                    @Html.TextBoxFor(a => a.Username, new { @type = "text", @class = "input-block-level", @placeholder = "Usuário" })
                     <br />
                    @Html.PasswordFor(a => a.Password, new { @type = "password", @class = "input-block-level", @placeholder = "Senha" })               
                 </td>
                 <td rowspan="2" style="text-align: center; vertical-align:top;">

                    <button class="btn btn-primary btn-login" type="submit">Acessar</button>
                 </td>
                            
             </tr>
             <tr>
               <td colspan="2"> 
                <label class="checkbox">
                    <input type="checkbox" value="remember-me"> Lembrar senha
                </label>
                </td>
             </tr>
                  </table>
         
         }


</div>

